package com.customer.crm.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.customer.crm.system.pojo.SystemRoleFunction;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author Lyp
 * @create 2021/12/20
 */
@Mapper
public interface SystemRoleFunctionMapper extends BaseMapper<SystemRoleFunction> {

    @Delete("delete from tb_system_role_function where roleId = #{roleId} ")
    Integer deleteByRoleIdAndFuncId(String roleId);
}
